﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Chapter_5
{
    public class Person
    {
        public string FirstName { get; set; }
        public string LastName { get; set; }

        public Person()
        {
        }

        public Person(string firstName, string lastName)
        {
            this.FirstName = firstName;
            this.LastName = lastName;
        }

        public override string ToString()
        {
            return String.Format("First name:{0}\nLast name:{1}", FirstName, LastName);
        }
    }
}
